package study.method.absimpl;

/**
 * @author ASUS
 * @date 2021/2/4
 */
public class BasketBallAthlete extends Athlete{
    public BasketBallAthlete() {
        super();
    }

    public BasketBallAthlete(String name, int age) {
        super(name, age);
    }

    @Override
    public void study() {
        System.out.println(getName() + "在学篮球");
    }

    @Override
    public void introduction() {
        System.out.println("我叫" + getName() + ",今年" + getAge() + "岁，是一名篮球运动员");
    }
}
